package com.service;

import com.pojo.dto.Message;
import com.pojo.vo.CTicketRoundVo;
import com.pojo.vo.CTicketVo;

import java.util.List;

//抽号表
public interface CTicketRoundService {
    /**
     * 查找所有符合条件的场次
     *
     * @param cTicketRoundVo
     * @return
     */
    Message<List<CTicketRoundVo>> list(CTicketRoundVo cTicketRoundVo);

    Message<CTicketRoundVo> selectOne(Long planId);

    Message<CTicketRoundVo> add(CTicketRoundVo cTicketRoundVo);

    Message<CTicketRoundVo> update(CTicketRoundVo cTicketRoundVo);

    Message<CTicketRoundVo> delete(Long planId);

    /**
     * 抽号
     *
     * @param cTicketRoundVo
     * @return
     */
    Message<List<CTicketVo>> designTicket(CTicketRoundVo cTicketRoundVo);
}
